//
//  HYDatabaseHandler.h
//  HYChatProject
//
//  Created by erpapa on 16/4/23.
//  Copyright © 2016年 erpapa. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDB.h"

#define filter(str) [HYDatabaseHandler filterSqlKeyword:str]
#define restore(str) [HYDatabaseHandler restoreSqlKeyword:str]

@interface HYDatabaseHandler : NSObject{
    FMDatabaseQueue *_dbQueue;
}

+ (instancetype)sharedInstance;


+(NSString *)filterSqlKeyword:(NSString *)string;

+(NSString *)restoreSqlKeyword:(NSString *)string;

@end
